package Graph;

public class Road extends GraphElement{
	private	int length; //length of the road
	private int max_v; //maximum velocity

	public void setLength(int l) { //setting length
		this.length = l;
	}
	
	public void setMax_V(int v) { //setting max_v
		this.max_v = v;
	}
	
	public int getLength() { //get length
		return this.length;
	}
	
	public int getMax_V() { //get maximum velocity
		return this.max_v;
	}
}
